package com.ruoyi.recipe.mapper;

import java.util.List;
import com.ruoyi.recipe.domain.RecipeSlidePic;

/**
 * 轮播图Mapper接口
 * 
 * @author ruoyi
 * @date 2024-11-23
 */
public interface RecipeSlidePicMapper 
{
    /**
     * 查询轮播图
     * 
     * @param picId 轮播图主键
     * @return 轮播图
     */
    public RecipeSlidePic selectRecipeSlidePicByPicId(Long picId);

    /**
     * 查询轮播图列表
     * 
     * @param recipeSlidePic 轮播图
     * @return 轮播图集合
     */
    public List<RecipeSlidePic> selectRecipeSlidePicList(RecipeSlidePic recipeSlidePic);

    /**
     * 新增轮播图
     * 
     * @param recipeSlidePic 轮播图
     * @return 结果
     */
    public int insertRecipeSlidePic(RecipeSlidePic recipeSlidePic);

    /**
     * 修改轮播图
     * 
     * @param recipeSlidePic 轮播图
     * @return 结果
     */
    public int updateRecipeSlidePic(RecipeSlidePic recipeSlidePic);

    /**
     * 删除轮播图
     * 
     * @param picId 轮播图主键
     * @return 结果
     */
    public int deleteRecipeSlidePicByPicId(Long picId);

    /**
     * 批量删除轮播图
     * 
     * @param picIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteRecipeSlidePicByPicIds(String[] picIds);
}
